package com.hxkj.MQ.Sender;

import com.hxkj.domain.po.*;
import com.platform.common.domain.result.ResultMessageStruct;

import java.util.List;

public interface GeneratorStaticFileService {

    ResultMessageStruct GenFile(String params) throws Exception;

    void GenArticleFile(List<Article> list) throws Exception;

    void GenChannelFile(List<Channel> list) throws Exception;

    void GenColumnFile(List<Column> list) throws Exception;

    void GenLeafletFile(Leaflet leaflet) throws Exception;

    void GenTagInfoFile(List<Tags> list) throws Exception;

    /**
     * 生成全站静态文件
     * @param freeMarker
     * @throws Exception
     */
    void createSiteAll(FreeMarker freeMarker) throws Exception;


    /**
     * 根据文章生成静态页面
     * @param article
     * @throws Exception
     */
    void generateArticleHTML(Article article) throws Exception;
}
